﻿using System;
using System.Collections.Generic;
using YawetagDemo.Framework.Data;
using YawetagLib.System.Services;

namespace YawetagDemo.Framework.Services
{
    public interface ICoreService : IService
    {
        IPerson GetPerson(int personID);
        IList<IPerson> GetPersons();
        IPerson CreatePerson(string name, DateTime? dob);
        IPerson UpdatePerson(int personID, string name, DateTime? dob);
        void DeletePerson(int personID);
    }
}
